@import 'flex.scss';
@import 'vars.scss';
@import 'theme.scss';

page {
	height: 100%;
	background: $u-bg-color;
	width: 100%;
	font-size: 28rpx;
	// font-family: OPPOSANS;
	word-break: break-all; //英文文本不换行
	white-space: normal;
}

::-webkit-scrollbar {
	width: 0;
	height: 0;
	color: transparent;
	display: none;
}

image {
	will-change: transform;
}

.juzhong_transform {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
}

.pointer {
	cursor: pointer;
}

.block {
	display: block;
}

.inline {
	display: inline-block;
}

.tl {
	text-align: left;
}

.tr {
	text-align: right;
}

.tc {
	text-align: center;
}

.fw {
	font-weight: bold;
}

.position-relative {
	position: relative;
}

.marign-auto {
	margin: 0 auto;
}

.oya {
	overflow-y: auto;
}

.list-title {
	height: 55rpx;
	text-align: left;
	line-height: 55rpx;
	margin: 10rpx 20rpx;
	font-size: 13px;
	padding: 0rpx 30rpx;
	background-color: #f5f7fe;
}
.list-conten {
	float: right;
	color: #2472f1;
}
.line-list {
	height: 80rpx;
	text-align: left;
	line-height: 50rpx;
	margin: 10rpx 20rpx;
	font-size: 13px;
	padding: 20rpx;
	background-color: #f1f6fc;
}

// h5 tabbar 遮挡问题
uni-page-body > uni-view {
	/* #ifdef APP-PLUS || H5 */
	padding-bottom: var(--window-bottom);
	/* #endif */
}

.uni-table,
.u-cell,
.u-collapse-item__content,
.u-cell--clickable {
	background-color: $bg-color !important;
}

.uni-table-th {
	background-color: #f5f7fe;
}

.u-collapse-item__content {
	border-bottom-right-radius: 20rpx;
	border-bottom-left-radius: 20rpx;
}
.u-cell,
.u-cell__body {
	border-top-left-radius: 20rpx !important;
	border-top-right-radius: 20rpx !important;
}
.u-empty {
	margin-top: 80rpx !important;
}
.content-item-title {
	color: $title-color;
	font-size: 36rpx;
	font-weight: 700;
	padding: 0rpx 30rpx 0rpx 10rpx;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;

	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: -10rpx;
		width: 4px;
		height: 1.1rem;
		background: #0052d9;
		transform: translateY(-50%);
	}
}

.bg-white {
	background: #fff;
}
.uni-table-td {
	font-size: 24rpx !important;
}

.outer-box {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
.popup {
	.msg {
		font-size: 30rpx;
		background: transparent;
		display: flex;
		flex-direction: column;
		color: #fff;
		width: 400rpx;
		background: rgba(0, 0, 0, 0.7);
		padding: 20rpx;
		border-radius: 20rpx;

		.title {
			text-align: center;
			font-size: 30rpx;
		}

		.line {
			width: 100%;
			height: 1rpx;
			background: #d8d8d8;
		}

		&-item {
			width: 100%;
			justify-content: space-between;
			display: flex;
			align-items: center;
			margin-top: 10rpx;
			font-size: 24rpx;
			.fx {
				width: 70rpx;
				height: 56rpx;
			}

			.dot {
				width: 20rpx;
				height: 20rpx;
				border-radius: 50%;
				margin-right: 8rpx;
			}
		}
	}
}

.level_1 {
	color: #ff0000;
}

.level_2 {
	color: #ffd700;
}

.level_3 {
	color: #4169e1;
}

.level_4 {
	color: #7fffd4;
}

.grid-value {
	padding-top: 50rpx;
}

.grid-title {
	padding-bottom: 20rpx;
}

.charts-box {
	height: 500rpx;
}

.p-between {
	padding-left: 20rpx;
	padding-right: 20rpx;
}

.container {
	height: 100%;
	background-color: $page-bg-color;
}

.card {
	position: relative;
	padding: 20rpx;
	background-color: #fff;
	border-radius: 20rpx;
	margin-top: 20rpx;
	&:first-child {
		margin-top: 0;
	}
}

.my-popup {
	:deep(.u-fade-enter-active),
	:deep(.u-slide-right-enter-to) {
		top: 176rpx !important; // 自定义导航栏高度和状态栏高度(可获取)
	}
}

.status_bar {
	height: var(--status-bar-height);
	width: 100%;
}

.u-collapse-item .u-cell {
	background-image: url('@/static/img/header.png');
	background-size: 100% 100%;
}

.u-collapse {
	> .u-line {
		display: none;
	}
}

.u-collapse-item__content__text {
	padding: 20rpx !important;
}
.u-collapse-item {
	& + .u-collapse-item {
		margin-top: 20rpx;
	}
}

.pr,
.position-relative {
	position: relative;
}

.pa,
.position-absolute {
	position: absolute;
}
